rm(list = ls())

## packages 

library(tidyverse)
library(fixest)

## Load data 

dat <- readRDS('data/civey_clean.rds') %>%
  filter(foreign_non_eu_share_bin == 'High')  

## By Gender 

feols(vote_afd ~ treated_post | user_id + date, 
            data = dat ,
            split = ~ sex, 
            cluster = ~ user_id) %>%
  etable()


